<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@include file="/common/jsp/global.jsp"%>

<div class="wrapper-md" ng-controller="${simpleJavaName}EditCtrl">
    <div>
        <form name="${simpleJavaName}Form" class="form-validation" >
            <div class="panel panel-default">
                <div class="panel-heading">
                    <i class="glyphicon glyphicon-edit"></i>
                    <span class="h4">${jspCodeTitle}</span>
                    <input ng-model="formData.pkId" type="hidden" ng-init="formData.pkId='${${simpleJavaName}.pkId}'" />
                </div>
                <div class="panel-body">
                    ${editJspCode}

                    <div class="form-group align-center">
                        <button type="button" class="btn btn-default" ng-edit-submit="${simpleJavaName}(formData)"><fmt:message key="button.save"/></button>
                        <button type="reset" class="btn btn-default "><fmt:message key="button.reset"/></button>
                        <button type="button" class="btn btn-default" ng-return><fmt:message key="button.return"/></button>

                    </div>

                </div>
            </div>
        </form>
    </div>
</div>
